package com.hao.tool.util.common.constant;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * description
 *
 * @author RuiHaoZ on GZ.cmhk
 * @date 2019-11-20 22:42
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LayPage<T> implements Serializable {
    private Long page = 1L;
    private Long limit = 10L;
    private String msg = "未查到数据";
    private Integer code = 0;
    private Long count = 0L;
    private List<T> data = new ArrayList();
    private String field;
    private String order;
    private Boolean isPage = true;

}
